package com.turing.pre.processor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.turing.orm.model.domain.common.BaseDo;
import io.swagger.annotations.ApiModel;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @Description
 * @Author livin
 * @Date 2021-11-10
 */
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
@Builder(toBuilder = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class FileImage extends BaseDo<FileImage> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("pre_task_detail_id")
    private Integer preTaskDetailId;

    @TableField("page_no")
    private Integer pageNo;

    @TableField("image_url")
    private String imageUrl;

    @TableField("is_del")
    private Integer isDel;

    @TableField("task_sn")
    private String taskSn;

    @TableField("height")
    private Integer height;

    @TableField("width")
    private Integer width;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

